<?php
/* @var $this ProductController */
/* @var $model Product */
$this->breadcrumbs=array(
	'综合控制台'=>array($this->pre_module_url.'/index/index'),
	'产品管理'=>array($this->pre_module_url.'/productSale/admin'),
	'回收站'=>array($this->pre_module_url.'/product/recycle'),
);
?>

<div class="manage_box">
	<table class="list_table list_table2" width="100%" cellpadding="0" cellspacing="0">
		<tr class="toolbar">
			<td colspan="5">
				<div class="pro_filter c_f">
					<div class="filter f_l">
						<form method="post" action="">
							<label class="mr10">商家名称：<input class="t_ipt w_120" type="text" name="" maxlength="20" /></label>
							<label class="mr10">会员名称：<input class="t_ipt w_120" type="text" name="" maxlength="20" /></label>
							<label>产品名称：<input class="t_ipt w_170" type="text" name="" maxlength="20" /></label>
							<button class="mem_btn mem_btn03" type="submit" name="">搜索</button>
						</form>
					</div>
				</div>
			</td>
		</tr>
        <form action="/manage/product/deleteall" method="post" id="deleteForm">
		<?php $list = $this->beginWidget('zii.widgets.CListView', array(
            'dataProvider'=>$model->recycleSearch(),
            'itemView'=>'_pview',
            'template'=>'',
        )); ?>
		<tr class="toolbar">
			<td colspan="5">
				<div class="pro_filter c_f">
					<div class="page f_r c_666"><span class="num"><?php $list->renderSummary();?></span><a class="prev mem_bgx" href="javascript:" title="上一页">上一页<b class="ico ico_prev"></b></a><a class="next mem_bgx" href="javascript:" title="下一页">下一页<b class="ico ico_next"></b></a></div>
					<div class="filter f_l"><span class="mr10"><input id="allcheckbox1" onchange="checkAll('select-on-check','allcheckbox1');" class="chk select-on-check" type="checkbox" name="">全选</span><button class="mem_bgx link_btn mr5" onclick="$('#deleteForm').submit();" title="">删除选中</button><b class="mem_bgx left"></b><b class="mem_bgx right"></b></div>
				</div>
			</td>
		</tr>
		<tr>
			<th width="" class="pl15">商品名称</th>
			<th width="17%">店铺名称</th>
			<th width="17%">会员名称</th>
			<th width="15%">发布时间</th> 
			<th width="15%">操作</th>                                                    
		</tr>
		<?php $list->renderItems();?>
        </form>
		<tr class="foot">
			<td colspan="5">
				<div class="pro_filter c_f">
					<div class="list_page f_r">
					<?php $list->renderPager();?>
						<form action="" method="post">
							<a href="javascript:" class="prev mem_bgx">上一页<b class="ico ico_prev"></b></a>
							<ol>
								<li class="cur"> <a href="javascript:">1</a> </li>
								<li> <a href="javascript:">2</a></li>
								<li> <a href="javascript:">3</a></li>
							</ol>
							<b class="fw-b">... </b><a href="javascript:" title="首页" class="next mem_bgx">下一页<b class="ico ico_next"></b></a> <span class="total">到
							<input type="text" maxlength="4" class="t_ipt">
							页
							<button class="mem_btn mem_btn03" type="submit">确定</button></span>
						</form>
					</div>
					<div class="filter f_l">
                        <span class="mr10">
                        <input id="allcheckbox2" onchange="checkAll('select-on-check','allcheckbox2');" class="chk select-on-check" type="checkbox" name="">全选
                        </span>
                        <button class="mem_bgx link_btn mr5" onclick="$('#deleteForm').submit();" title="">删除选中</button><b class="mem_bgx left"></b><b class="mem_bgx right"></b>
					</div>
				</div>
			</td>
		</tr>
        <?php $this->endWidget();?>
	</table>
</div>
